package com.kingdee.eas.custom.basetata;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class UseDepartmentFactory
{
    private UseDepartmentFactory()
    {
    }
    public static com.kingdee.eas.custom.basetata.IUseDepartment getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.basetata.IUseDepartment)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("214389C1") ,com.kingdee.eas.custom.basetata.IUseDepartment.class);
    }
    
    public static com.kingdee.eas.custom.basetata.IUseDepartment getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.basetata.IUseDepartment)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("214389C1") ,com.kingdee.eas.custom.basetata.IUseDepartment.class, objectCtx);
    }
    public static com.kingdee.eas.custom.basetata.IUseDepartment getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.basetata.IUseDepartment)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("214389C1"));
    }
    public static com.kingdee.eas.custom.basetata.IUseDepartment getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.basetata.IUseDepartment)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("214389C1"));
    }
}